<%@ page language="java" pageEncoding="UTF-8" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <!--select2-->

    <!--zTree css-->

    <jsp:include page="../page/public.jsp"></jsp:include>
    <link rel="stylesheet" href="/resource/plugins/validator/jquery.validator.css">

</head>

<body class="sidebar-mini skin-blue-light fixed">
<!-- Site wrapper -->
<div class="wrapper">
    <jsp:include page="../page/header.jsp"></jsp:include>
    <jsp:include page="../page/left-sidebar.jsp"></jsp:include>

    <!-- Content Wrapper. Contains page content -->
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h2></h2>
            <ol class="breadcrumb">
                <li>设备管理</li>
                </li>
                <li class="active">设备测试</li>
            </ol><!-- .breadcrumb -->
        </section>

        <!-- Main content -->
        <section class="content">
            <!-- Default box -->
            <div class="box-body">
                <div class="bootstrap-table">
                    <div class="fixed-table-toolbar">
                        <div class="bs-bars pull-left"></div>
                    </div>
                    <div class="fixed-table-container" style="padding-bottom: 0px;">
                        <div class="fixed-table-header" style="display: none;">
                            <table></table>
                        </div>
                        <div class="fixed-table-body">
                            <table id="area_table" class="table table-hover table-striped">
                                <thead>
                                <tr>
                                    <th style="text-align: center; vertical-align: middle; width: 40px; "
                                        data-field="name" tabindex="0">
                                        <div class="th-inner ">设备名称</div>
                                        <div class="fht-cell" style="vertical-align: middle; width: 40px; "></div>
                                    </th>
                                    <th style="text-align: center; vertical-align: middle; width: 20px; "
                                        data-field="sequence" tabindex="0">
                                        <div class="th-inner ">历史编号</div>
                                        <div class="fht-cell" style="vertical-align: middle; width: 20px; "></div>
                                    </th>
                                    <th style="text-align: center; vertical-align: middle; width: 20px; "
                                        data-field="status" tabindex="0">
                                        <div class="th-inner ">状态</div>
                                        <div class="fht-cell" style="vertical-align: middle; width: 20px; "></div>
                                    </th>
                                    <th style="text-align: center; vertical-align: middle; width: 80px; "
                                        data-field="signal_strength" tabindex="0">
                                        <div class="th-inner ">信号</div>
                                        <div class="fht-cell" style="vertical-align: middle; width: 80px; "></div>
                                    </th>
                                    <th style="text-align: center; vertical-align: middle; width: 80px; "
                                        data-field="update_time" tabindex="0">
                                        <div class="th-inner ">更新时间</div>
                                        <div class="fht-cell" style="vertical-align: middle; width: 80px; "></div>
                                    </th>
                                </tr>
                                </thead>
                                <tbody id="tableBody">
                                <%--<tr data-index="0">--%>
                                    <%--<td style="text-align: center; vertical-align: middle; width: 40px; ">--%>
                                        <%--ningbo-juntuo-0153--%>
                                    <%--</td>--%>
                                    <%--<td style="text-align: center; vertical-align: middle; width: 20px; ">11</td>--%>
                                    <%--<td style="text-align: center; vertical-align: middle; width: 20px; ">-</td>--%>
                                    <%--<td style="text-align: center; vertical-align: middle; width: 80px; ">-</td>--%>
                                    <%--<td style="text-align: center; vertical-align: middle; width: 80px; ">2018-06-07--%>
                                        <%--10:17:07--%>
                                    <%--</td>--%>
                                <%--</tr>--%>

                                </tbody>
                            </table>
                        </div>
                        <div class="fixed-table-footer" style="display: none;">
                            <table>
                                <tbody>
                                <tr></tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
    </div>
    </section>
</div>
<!-- /.content-wrapper -->
<jsp:include page="../page/footer.jsp"></jsp:include>
</div>


<script src="/resource/plugins/validator/jquery.validator.js"></script>
<script type="text/javascript" src="/resource/plugins/sockjs/sockjs.js"></script>
<script>
    var deviceId ='${deviceId}';
    var deviceName ='${deviceName}';
    console.log(deviceId);
</script>
<script src="/static/history/dynamic.js"></script>
</body>
</html>